package com.lagou.edu.wwyan.nacos.code.service;

public interface LagouAuthCodeService {
    /**
     * 生成验证按并发送
     * @param email
     * @return
     */
    Boolean createAndSend(String email);

    /**
     * 校验验证按
     * @param email
     * @param code
     * @return
     */
    Integer validate(String email,String code);
}
